import Vue from 'vue'
import {
	Form,
	Input,
	FormItem,
	Backtop,
	Drawer,
	Dropdown,
	DropdownMenu,
	DropdownItem,
	Message,MessageBox,
	Button,
	Notification,
	Switch,Radio,
	Container,Aside,Main,
	Menu,MenuItem,Submenu,MenuItemGroup,
	Table,TableColumn,Tag,
	Select,
	Option,
	DatePicker,
	TimePicker,
	col,Tooltip,
	Divider,
	Autocomplete,
	Popover,
  Loading,Dialog,
	Badge,Steps,Step,
	Card,PageHeader,Tabs,TabPane,Progress,
	Popconfirm,Avatar,Carousel,CarouselItem,Upload,
	} from 'element-ui';
const elePlugins = [
	Popconfirm,Upload,
	Card,PageHeader,Steps,Step,Avatar,Carousel,CarouselItem,Dialog,
	Badge,Tabs,TabPane,Progress,
	Popover,
	Autocomplete,
	Tooltip,
  Loading,
	col,Radio,
	DatePicker,
	TimePicker,
	Option,
	Select,
	Tag,
	Table,
	TableColumn,
	Submenu,
	MenuItemGroup,
	Menu,
	MenuItem,
	Container,
	Aside,
	Main,
	Switch,
	Form,
	Input,
	FormItem,
	Backtop,
	Drawer,
	Dropdown,
	DropdownMenu,
	DropdownItem,
	Button,
	Divider]
elePlugins.forEach(e=>{
	Vue.use(e); 
})
Vue.prototype.$message = Message
Vue.prototype.$notify = Notification
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$prompt = MessageBox.prompt
Vue.prototype.$alert = MessageBox.alert
